package model

import "time"

type ViewMeta struct {
	Ip         string    `json:"ip" db:"ip"`
	ObjectType int       `json:"object_type" db:"objtype"`
	ObjectId   uint64    `json:"object_id" db:"objid"`
	CreateTime time.Time `json:"create_time" db:"created_at"`
}

type ZanMeta struct {
	Id         int       `json:"id" db:"id"`
	UserSn     uint64    `json:"zan_user_sn" db:"user_sn"`
	ObjectType int       `json:"zan_obj_type" db:"objtype"`
	ObjectId   uint64    `json:"zan_obj_id" db:"objid"`
	CreateTime time.Time `json:"create_time" db:"created_at"`
}
